-
Home
-
Elementor Website Builder – More Than Just a Page Builder
-
3.32.3
-
Code
-
Classes
- Svg_Sanitizer
| Total Complexity |
62 |
| Dependencies |
2 |
| Dependents |
2 |
| Total lines |
792 |
| Lines of code |
486 |
| Logical lines of code |
129 |
| Comment lines |
261 |
| Methods |
21 |
| Properties |
1 |
Methods 21
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_allowed_attributes() |
A |
26 |
1 |
211 |
| is_safe_href() |
A |
48 |
8 |
36 |
| validate_allowed_attributes() |
A |
54 |
9 |
19 |
| sanitize() |
S |
48 |
6 |
32 |
| sanitize_file() |
S |
56 |
5 |
20 |
| get_allowed_elements() |
S |
41 |
1 |
68 |
| sanitize_elements() |
S |
59 |
4 |
14 |
| is_allowed_tag() |
S |
62 |
3 |
12 |
| strip_xlinks() |
S |
66 |
3 |
9 |
| validate_use_tag() |
S |
69 |
3 |
6 |
| strip_doctype() |
S |
69 |
3 |
7 |
| strip_php_tags() |
S |
64 |
3 |
9 |
| strip_comments() |
S |
66 |
3 |
8 |
| is_encoded() |
S |
66 |
2 |
8 |
| is_remote_value() |
S |
64 |
2 |
9 |
| encode_svg() |
S |
80 |
1 |
3 |
| decode_svg() |
S |
80 |
1 |
3 |
| remove_element() |
S |
81 |
1 |
3 |
| is_a_attribute() |
S |
78 |
1 |
3 |
| has_js_value() |
S |
79 |
1 |
3 |
| strip_line_breaks() |
S |
79 |
1 |
3 |